import logging


class Log:
    logging.config.fileConfig('./resource/log.conf', encoding='utf-8')

    @classmethod
    def getlogger(cls):
        return logging.getLogger('console')

    @classmethod
    def getEmaillogger(cls):
        return logging.getLogger('email')
